//
//  ReportBasicInfoCell.h
//  efairy
//
//  Created by 李锋 on 2019/3/13.
//  Copyright © 2019年 East. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ReportBasicModel.h"

NS_ASSUME_NONNULL_BEGIN

@interface ReportBasicInfoCell : UITableViewCell
@property(nonatomic, strong)UITextField *reportTitle;//报表标题
@property(nonatomic, strong)UIImageView *editImageView;//编辑图标
@property(nonatomic, strong)UIButton *editBtn;//编辑按钮
@property(nonatomic, strong)UILabel *reportTimeTitle;
@property(nonatomic, strong)UILabel *reportTime;//报告时间;
@property(nonatomic, strong)UILabel *alarmRowsTitle;//报警点位
@property(nonatomic, strong)UILabel *alarmRows;//报警点位
@property(nonatomic, strong)UILabel *warningRowsTitle;//预警点位
@property(nonatomic, strong)UILabel *warningRows;//预警点位
@property(nonatomic, strong)UILabel *troubleRowsTitle;//故障点位
@property(nonatomic, strong)UILabel *troubleRows;//故障点位
@property(nonatomic, strong)UILabel *projectRowsTitle;//项目总数
@property(nonatomic, strong)UILabel *projectRows;//项目总数
@property(nonatomic, strong)UILabel *scoreTitle;//评分统计
@property(nonatomic, strong)UIView *searchView;//搜索view
@property(nonatomic, strong)UILabel *score;//评分统计
@property(nonatomic, strong)UITextField *searchText;//搜索项目报表
@property(nonatomic,strong)UIImageView *upImageView;//评分按升序查询
@property(nonatomic,strong)UIImageView *downImageView;//评分按降序查询
@property(nonatomic,copy) void (^scoreQeuryBlock)(int type);//1升序 0降序
@property(nonatomic,copy) void (^saveReportTitleBlock)(NSString *reportTitle);//修改标体
@property(nonatomic,copy) void (^queryByKeywordBlock)(NSString *keyword);//查询
@property(nonatomic,copy) void (^shouldChangeBlock)(NSString *keyword);//实时输入
-(void)setDataModel:(ReportBasicModel *)data keyword:(NSString *)keyword order:(int)order;
@end

NS_ASSUME_NONNULL_END
